namespace DesignPattern.Creational.Builder
{
    public class BuilderPattern
    {
        public static void Test()
        {
            var mealBuilder = new MealBuilder();
            var meal = mealBuilder.VegetableBurgerSetMeal();
            meal.ShowItems();
            System.Console.WriteLine($"Total cost: {meal.GetCost()}");

            meal = mealBuilder.ChickenBurgerSetMeal();
            meal.ShowItems();
            System.Console.WriteLine($"Total cost: {meal.GetCost()}");
        }
    }
}